/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.saleorder.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.saleorder.entity.SaleOrder;

import java.util.List;

/**
 * 卖出订单MAPPER接口
 * @author w
 * @version 2021-03-27
 */
@MyBatisMapper
public interface SaleOrderMapper extends BaseMapper<SaleOrder> {

    List<SaleOrder> findStandardSaleList(SaleOrder saleOrder);

    List<SaleOrder> findLimitList(SaleOrder saleOrder);

    void revokeOrders();

    List<SaleOrder> findLimitByPriceList(SaleOrder saleOrder);
}